package com.wswy.wzcx.ui.fragment;

import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.che.libcommon.ui.loading.LoadingFragment;
import com.wswy.wzcx.R;

/**
 * 精选
 */
public class ChoiceFragment extends LoadingFragment {

  @Nullable
  @Override
  public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container,
      @Nullable Bundle savedInstanceState) {
    View inflate = inflater.inflate(R.layout.fragment_nav_choice, container, false);
    return inflate;
  }

  @Override
  public void onActivityCreated(@Nullable Bundle savedInstanceState) {
    super.onActivityCreated(savedInstanceState);

    new Handler().postDelayed(new Runnable() {
      @Override
      public void run() {
        showData();
      }
    },2000);

  }

  @Override
  protected int getLoadingFrameId() {
    return R.id.layout_content;
  }

  @Override
  public LoadingConfigure getConfigure() {
    return null;
  }
}
